package com.service;

import java.util.List;

import com.entity.Orders;
import com.entity.User;

public interface OrderService {

	List<Orders> selectAllOrder(int shop_id);
	
	List<Orders> selectAllOrderUser(int user_id);
	
	int delete(int order_id);
	
	int insert(Orders orders);
	
	Orders selectOrderByid(int order_id);
	
	User selectUserByOrderId(Integer orderid);
	
	int  updateStateById(int order_id);
	
	int ordersCancel(int order_id);
	
}
